﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using SMS.Core.View.Component;

namespace SMS.Core
{
    public partial class LoginForm : Form
    {
        private UserControl m_component = null;

        public LoginForm()
        {
            InitizalizeLoginForm();
        }

        public UserControl CustomComponent
        {
            get { return m_component; }
            set
            {
                m_component = value;
                Controls.Add(m_component);
                m_component.Dock = DockStyle.Fill;
            }
        }

        private void InitizalizeLoginForm()
        {
            InitializeComponent();
        }
    }
}
